package com.maiji.cloud.entities.login;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
/**
 * 
 * @Description: 注销用户信息表
 * @author zhanglr  
 * @date 2019年12月10日上午11:44:34
 */
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "logout")
@TableName("logout")
public class LogOutEntity {
	@TableId
	@Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
	private String uuId; // 主键
	
	@Column(name = "user_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String userId; //用户id
	
	@Column(name = "tel", type = MySqlTypeConstant.VARCHAR, length = 20)
	private String tel;//手机号
	
	@Column(name = "open_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String openId;//微信openId

	@Column(name = "qq_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String qqId; // QQID

	@Column(name = "wb_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String wbId; // 微博ID
	
	@Column(name = "distribution_num", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String distributionNum; // 分销码
	
	@Column(name = "logout_time", type = MySqlTypeConstant.DATETIME)
	private Date logoutTime;//注销时间
	
	@Column(name = "reason", type = MySqlTypeConstant.TEXT)
	private String reason; // 注销原因
	

}
